package com.mx.restful.service;

import com.intellij.openapi.components.ServiceManager;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.wm.ToolWindow;
import org.jetbrains.annotations.NotNull;

/**
 * @Author: mengxiang.
 * @Date: 2020/6/22.
 * @Time: 11:37 上午.
 * @Description:
 */
public interface WindowsService {

    /**
     * getInstance
     *
     * @param project project
     * @return obj
     */
    static WindowsService getInstance(@NotNull Project project) {
        return ServiceManager.getService(project, WindowsService.class);
    }

    /**
     * setupImpl
     *
     * @param toolWindow toolWindow
     */
    void setupImpl(@NotNull ToolWindow toolWindow);
}
